import _ from "lodash";

export function isEqual(value1: any, value2: any) {
    if (typeof value1 === 'string' && typeof value2 === 'string') {
        return _.isEqual(value1.toLowerCase(), value2.toLowerCase());
    }
    return _.isEqual(value1, value2);
}